﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web;

namespace RMD.Html
{
    public static class LocalizationExtensions
    {
        public static string LocalizedText(this HtmlHelper htmlHelper, string classKey,  string key)
        {
            string result = null;
            result = HttpContext.GetGlobalResourceObject(classKey, key) as string;
            return result;
        }
    }
}
